import request from '@/utils/request'

// permissions search 权限查找
export function getPermissionList(data) {
  return request({
    url: '/permissions/search',
    method: 'post',
    data
  })
}

// permissions get 获取权限
export function getAllPermission() {
  return request({
    url: '/permissions/get',
    method: 'get'
  })
}

